package com.att.service;

import com.att.bean.UserOfRunDeilBean;
import org.apache.ibatis.annotations.Param;

import java.text.ParseException;
import java.util.List;

public interface UserOfRunDeilService {
    public boolean insert(UserOfRunDeilBean bean) throws ParseException;

    public boolean delete(UserOfRunDeilBean bean);

    public List<UserOfRunDeilBean> findUserOfRunDeilBean(UserOfRunDeilBean bean);

    /**
     * 删除时间班次时间段的时候删除排班的信息
     * @param week  删除周几的
     * @param numRunId
     * @return
     */
    public boolean deleteByWeek(String week, Integer numRunId);
    /**
     * 删除时间班次时间段的时候删除排班的信息
     * @param day  删除 对应号的
     * @param numRunId
     * @return
     */
    public boolean deleteByDay(String day,Integer numRunId);
}
